
* Figure SI.8(b) Acceptability of 256 prospective peace agreements for Israelis (x-axis) and Palestinians (y-axis) by age groups

* Generate the coordinates 
gen P_uvalue256_age29 = _bAR_29_a*a + _bAR_29_b*b +  _bAR_29_c*c + _bAR_29_d*d + _bAR_29_e*e + _bAR_29_f*f +  _bAR_29_g*g + _bAR_29_h*h
gen I_uvalue256_age29 = _bHE_29_a*a + _bHE_29_b*b +  _bHE_29_c*c + _bHE_29_d*d + _bHE_29_e*e + _bHE_29_f*f +  _bHE_29_g*g + _bHE_29_h*h

gen P_uvalue256_age49 = _bAR_49_a*a + _bAR_49_b*b +  _bAR_49_c*c + _bAR_49_d*d + _bAR_49_e*e + _bAR_49_f*f +  _bAR_49_g*g + _bAR_49_h*h
gen I_uvalue256_age49 = _bHE_49_a*a + _bHE_49_b*b +  _bHE_49_c*c + _bHE_49_d*d + _bHE_49_e*e + _bHE_49_f*f +  _bHE_49_g*g + _bHE_49_h*h

gen P_uvalue256_age50 = _bAR_50_a*a + _bAR_50_b*b +  _bAR_50_c*c + _bAR_50_d*d + _bAR_50_e*e + _bAR_50_f*f +  _bAR_50_g*g + _bAR_50_h*h
gen I_uvalue256_age50 = _bHE_50_a*a + _bHE_50_b*b +  _bHE_50_c*c + _bHE_50_d*d + _bHE_50_e*e + _bHE_50_f*f +  _bHE_50_g*g + _bHE_50_h*h

* Plot the entire bargaining  space
twoway ///
	(scatter P_uvalue256_age29 I_uvalue256_age29 ,   msize(small) mcolor(black*.8)  ) ///
	(scatter P_uvalue256_age49 I_uvalue256_age49 ,   msize(small) mcolor(black*0.3)   ) ///
	(scatter P_uvalue256_age50 I_uvalue256_age50 ,   msize(small) msymbol(Oh) mcolor(purple*2) ) ///
, ///
xline(0, lpattern(-) lc(gray)) ///
yline(0, lpattern(-) lc(gray)) ///
yt("Palestinians `Acceptability'") ///
xt("Israelis `Acceptability'")  ///
legend(off)  ///
graphregion(fcolor(white)) 
graph display, ysize(1) xsize(1)